<?php
namespace App\Http\Controllers\Laifei\Settlement;

use App\Exports\WorksExport;
use App\Http\Controllers\ClientController;
use Maatwebsite\Excel\Facades\Excel;

class SettlementExportController extends ClientController
{

    public function index()
    {
        return Excel::download(new WorksExport(), 'works-'.date('Ymd-His').'.xlsx');
    }

}
